import Vue from 'vue'
import Vuex from 'vuex'
import state from "./state.js"
import mutations from "./mutations.js"
import actions from "./actions.js"


//1安装插件
Vue.use(Vuex)

export default new Vuex.Store({
    state,
    mutations,
    actions
})